# https://docs.bazel.build/versions/master/be/c-cpp.html#cc_binary
cc_binary(
    name = "wash_hulk",
    srcs = glob(["include/*.h", "src/main.cpp", "actThrift/*.h", "actThrift/*.cpp"]),
    copts = ["-Iinclude", "-IactThrift"],
    # linkopts = ["-fopenmp", "-lpthread", "-fPIC", "-lrt",],
    deps = [
        "@cpp3rd_lib//thrift:thrift",
        "@cpp3rd_lib//redispp:redispp",
        "@cpp3rd_lib//json:json",
        "@cpp3rd_lib//boost:boost",
        "@cpp3rd_lib//cityhash:cityhash",
        "@cpp3rd_lib//protobuf:protobuf",
        "@tcmcp//:tcmcp",
    ],
)


cc_binary(
    name = "print",
    srcs = glob(["include/*.h", "src/print.cpp", "actThrift/*.h", "actThrift/*.cpp"]),
    copts = ["-Iinclude", "-IactThrift"],
    # linkopts = ["-fopenmp", "-lpthread", "-fPIC", "-lrt",],
    deps = [
        "@cpp3rd_lib//thrift:thrift",
        "@cpp3rd_lib//redispp:redispp",
        "@cpp3rd_lib//json:json",
        "@cpp3rd_lib//boost:boost",
        "@cpp3rd_lib//cityhash:cityhash",
        "@cpp3rd_lib//protobuf:protobuf",
        "@tcmcp//:tcmcp",
    ],
)


cc_binary(
    name = "write",
    srcs = glob(["include/*.h", "src/write.cpp", "actThrift/*.h", "actThrift/*.cpp"]),
    copts = ["-Iinclude", "-IactThrift"],
    # linkopts = ["-fopenmp", "-lpthread", "-fPIC", "-lrt",],
    deps = [
        "@cpp3rd_lib//thrift:thrift",
        "@cpp3rd_lib//redispp:redispp",
        "@cpp3rd_lib//json:json",
        "@cpp3rd_lib//boost:boost",
        "@cpp3rd_lib//cityhash:cityhash",
        "@cpp3rd_lib//protobuf:protobuf",
        "@tcmcp//:tcmcp",
    ],
)